using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;

namespace ClientTools.Client.Controls.Packager.PackageClasses
{
    public class Node
    {
        private DataCollection _dataCollection = new DataCollection();
        [XmlElement("data")]
        public DataCollection DataCollection
        {
            get { return _dataCollection; }
            set { _dataCollection = value; }
        }

        private NodeCollection _nodeCollection = new NodeCollection();
        [XmlElement("node")]
        public NodeCollection NodeCollection
        {
            get { return _nodeCollection; }
            set { _nodeCollection = value; }
        }
	
        private string _path;
        [XmlAttribute("path")]
        public string Path
        {
            get { return _path; }
            set { _path = value; }
        }
	
        private string _nodeTypeAlias;
        [XmlAttribute("nodeTypeAlias")]
        public string NodeTypeAlias
        {
            get { return _nodeTypeAlias; }
            set { _nodeTypeAlias = value; }
        }
	
        private string _creatorName;
        [XmlAttribute("creatorName")]
        public string CreatorName
        {
            get { return _creatorName; }
            set { _creatorName = value; }
        }
	
        private string _writerName;
        [XmlAttribute("writerName")]
        public string WriterName
        {
            get { return _writerName; }
            set { _writerName = value; }
        }
	
        private string _urlHome;
        [XmlAttribute("urlName")]
        public string UrlHome
        {
            get { return _urlHome; }
            set { _urlHome = value; }
        }
	
        private string _nodeName;
        [XmlAttribute("nodeName")]
        public string NodeName
        {
            get { return _nodeName; }
            set { _nodeName = value; }
        }
	
        private DateTime _updateDate;
        [XmlAttribute("updateDate")]
        public DateTime UpdateDate
        {
            get { return _updateDate; }
            set { _updateDate = value; }
        }
	
        private DateTime _createDate;
        [XmlAttribute("createDate")]
        public DateTime CreateDate
        {
            get { return _createDate; }
            set { _createDate = value; }
        }
	
        private int _sortOrder;
        [XmlAttribute("sortOrder")]
        public int SortOrder
        {
            get { return _sortOrder; }
            set { _sortOrder = value; }
        }
	
        private int _templateId;
        [XmlAttribute("template")]
        public int TemplateId
        {
            get { return _templateId; }
            set { _templateId = value; }
        }
	
        private int _nodeTypeId;
        [XmlAttribute("nodeType")]
        public int NodeTypeId
        {
            get { return _nodeTypeId; }
            set { _nodeTypeId = value; }
        }
	
        private int _creatorId;
        [XmlAttribute("creatorID")]
        public int CreatorId
        {
            get { return _creatorId; }
            set { _creatorId = value; }
        }
	
        private int _writerId;
        [XmlAttribute("writerID")]
        public int WriterId
        {
            get { return _writerId; }
            set { _writerId = value; }
        }
	
        private int _level;
        [XmlAttribute("level")]
        public int Level
        {
            get { return _level; }
            set { _level = value; }
        }

        private int _id;
        [XmlAttribute("id")]
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        private Guid _version;
        [XmlAttribute("version")]
        public Guid Version
        {
            get { return _version; }
            set { _version = value; }
        }

        private int _parentId;
        [XmlAttribute("parentID")]
        public int ParentId
        {
            get { return _parentId; }
            set { _parentId = value; }
        }
	
	
    }
}
